From e029cd9f04ed82ac2e3cc252816644e6945e3d4f Mon Sep 17 00:00:00 2001 From: oliskoli Date: Fri, 5 Sep 2008 19:06:47 +0000 Subject: [PATCH] xcsv: Check input file for unicode format. --- gpsbabel/xcsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/xcsv.c b/gpsbabel/xcsv.c index 65773a265..10e64862e 100644 --- a/gpsbabel/xcsv.c +++ b/gpsbabel/xcsv.c @@ -473,7 +473,7 @@ xcsv_read_style(const char *fname) xcsv_file_init(); fp = gbfopen(fname, "rb", MYNAME); - + (void) gbfunicode(fp); while ((sbuff = gbfgetstr(fp))) { sbuff = lrtrim(sbuff); xcsv_parse_style_line(sbuff); -- 2.30.2